package com.jie.langlangmall.service.impl;

import com.jie.langlangmall.mapper.CmsPrefrenceAreaMapper;
import com.jie.langlangmall.model.CmsPrefrenceArea;
import com.jie.langlangmall.model.CmsPrefrenceAreaExample;
import com.jie.langlangmall.service.CmsPrefrenceAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/22 10:18
 * @Email 3217998214@qq.com
 * @Description 商品优选管理
 */
@Service
public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService {

    @Autowired
    private CmsPrefrenceAreaMapper prefrenceAreaMapper;

    @Override
    public List<CmsPrefrenceArea> listAll() {
        return prefrenceAreaMapper.selectByExample(new CmsPrefrenceAreaExample());
    }

}
